s19aaf

s19aaf © Numerical Algorithms Group, 2002.

Purpose

S19AAF Kelvin function ber x

Synopsis

[fun_value,ifail] = s19aaf(x<,ifail>)

Description

 
 This routine evaluates an approximation to the Kelvin function 
 ber x.
 
 Note: ber(-x)=ber x, so the approximation need only consider 
 x>=0.0.
 
 For large x, there is a danger of the result being totally 
 inaccurate, as the error amplification factor grows in an 
 essentially exponential manner; therefore the routine must fail.
 

Parameters

s19aaf

Required Input Arguments:

x                                     real

Optional Input Arguments:                       <Default>

ifail                                 integer  -1

Output Arguments:

ifail                                 integer